\hypertarget{classCStegitMath}{
\section{\-C\-Stegit\-Math \-Class \-Reference}
\label{classCStegitMath}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}
}


mathematical functionality for \-Steg\-I\-T-\/2  




{\ttfamily \#include $<$stegit\-\_\-math.\-h$>$}

\subsection*{\-Public \-Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542}{\-E\-Interpolation\-Type} \{ \*
\hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a6055f26228bcd1ce934cbc75633aa8e3}{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-N\-E\-A\-R} =  0, 
\hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a4b9b08772c76f90d7e2c5119066afe04}{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-P\-O\-L\-Y\-N\-O\-M\-I\-A\-L}, 
\hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a565caea08923a948c8bed78a091be57a}{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E}, 
\hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a69089d55114afd321c393898c6f2fd5e}{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}, 
\*
\hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542ac9433bd99529267f529a2bf46eb49ad7}{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A}, 
\hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a7bd0d148cd267c992fb7ca26e619e072}{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}
 \}
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static double \hyperlink{classCStegitMath_a27b4ccfa0f0ffd5a21b44208a66134f3}{pow} (double p\-Base, int p\-Power)
\item 
static std\-::complex$<$ double $>$ \hyperlink{classCStegitMath_a0ed4af81fd9ee30890bb7858a0410425}{pow} (double p\-Base, std\-::complex$<$ double $>$ p\-Power)
\item 
static double \hyperlink{classCStegitMath_a15ffac1a6a90f1a4e2060c06290265d1}{log} (double p\-Value)
\item 
static void \hyperlink{classCStegitMath_a618fa77316720e8749f3cf3ef91f039c}{convert} (double $\ast$p\-Input, std\-::complex$<$ double $>$ $\ast$p\-Output, unsigned int p\-Length)
\item 
static void \hyperlink{classCStegitMath_ac1e726f7e8b25391aaf96e4eaab84927}{convert} (std\-::complex$<$ double $>$ $\ast$p\-Input, double $\ast$p\-Output, unsigned int p\-Length)
\item 
static void \hyperlink{classCStegitMath_aec6a85eefd29f0b10990dcb25058cfe2}{convert} (std\-::complex$<$ double $>$ $\ast$p\-Input, fftw\-\_\-complex $\ast$p\-Output, unsigned int p\-Length)
\item 
static void \hyperlink{classCStegitMath_a3fe4571c9c6380a9458f4a41582e77e7}{convert} (double $\ast$p\-Input, fftw\-\_\-complex $\ast$p\-Output, unsigned int p\-Length)
\item 
static void \hyperlink{classCStegitMath_a1df2599ebc91049d35a9505175b6903a}{convert} (fftw\-\_\-complex $\ast$p\-Input, std\-::complex$<$ double $>$ $\ast$p\-Output, unsigned int p\-Length)
\item 
static void \hyperlink{classCStegitMath_a232eb5deb85c1a00d9962eba6c15658f}{convert} (fftw\-\_\-complex $\ast$p\-Input, double $\ast$p\-Output, unsigned int p\-Length)
\item 
static void \hyperlink{classCStegitMath_a9fc181dd3d75febbb2f7bb69cd37e3af}{convert} (std\-::valarray$<$ double $>$ \&p\-Input, fftw\-\_\-complex $\ast$p\-Output, unsigned int p\-Length)
\item 
static bool \hyperlink{classCStegitMath_af3dd70d57daf78e8e293a6b07e8d67a2}{interpolate} (double $\ast$p\-Out, unsigned int p\-Out\-Len, double $\ast$p\-In, unsigned int p\-In\-Len, double $\ast$p\-In\-Tmp, \hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542}{\-E\-Interpolation\-Type} p\-Type, bool p\-Extrapolation)
\item 
static bool \hyperlink{classCStegitMath_aa829f2b5a9d4dd8069013659911e5c58}{interpolate} (double $\ast$p\-Out, unsigned int p\-Out\-Len, double $\ast$p\-In, unsigned int p\-In\-Len, \hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542}{\-E\-Interpolation\-Type} p\-Type, bool p\-Extrapolation)
\item 
static bool \hyperlink{classCStegitMath_afa346a68a614e11a2dd0edb1f4be45b7}{interpolate} (double $\ast$p\-Out, unsigned int p\-Out\-Len, double p\-Out\-Len\-Time, double p\-Out\-Offset\-Time, double $\ast$p\-In, unsigned int p\-In\-Len, double p\-In\-Len\-Time, \hyperlink{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542}{\-E\-Interpolation\-Type} p\-Type)
\item 
static uint16\-\_\-t \hyperlink{classCStegitMath_acaec45aadb8ad72a794a5cb88cb65ba7}{in\-Cksum} (void $\ast$p\-Addr, int p\-Len)
\item 
static unsigned char \hyperlink{classCStegitMath_a6cac42e396b9ac1885f25834fb018c48}{\-C\-R\-C8\-\_\-\-Block\-Checksum} (const void $\ast$data, int length)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCStegitMath_a23d68c7d003b762506a2c0978f4dff98}{\-C\-Stegit\-Math} ()
\item 
\hyperlink{classCStegitMath_a300d3dc7195bd6208ca20cb301c1ad19}{\-C\-Stegit\-Math} (const \hyperlink{classCStegitMath}{\-C\-Stegit\-Math} \&)
\item 
\hyperlink{classCStegitMath}{\-C\-Stegit\-Math} \& \hyperlink{classCStegitMath_afef294312b5d195b67a8cfd77ab8f42d}{operator=} (const \hyperlink{classCStegitMath}{\-C\-Stegit\-Math} \&)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classCStegitMath_a593e6b8eca03982089d53d8ce3bee75e}{\-C\-R\-C8\-\_\-\-Init\-Checksum} (unsigned char \&crcvalue)
\item 
static void \hyperlink{classCStegitMath_abdb183fcfab6424ba758375580760f7b}{\-C\-R\-C8\-\_\-\-Update} (unsigned char \&crcvalue, const unsigned char data)
\item 
static void \hyperlink{classCStegitMath_ab90e869afefa8ce36f79320d04fd2523}{\-C\-R\-C8\-\_\-\-Update\-Checksum} (unsigned char \&crcvalue, const void $\ast$data, int length)
\item 
static void \hyperlink{classCStegitMath_a342173d6ce1ca336f2fa7dbe2d6ec4af}{\-C\-R\-C8\-\_\-\-Finish\-Checksum} (unsigned char \&crcvalue)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
static const unsigned int \hyperlink{classCStegitMath_a86b20966f95cb5876c69322bbdeb4f7a}{s\-Log\-Approx\-Rounds}
\item 
static unsigned char \hyperlink{classCStegitMath_a5123da0c1e40a20c5c8f3ae58577a211}{s\-C\-R\-C\-Table} \mbox{[}256\mbox{]}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
mathematical functionality for \-Steg\-I\-T-\/2 

\begin{DoxyAuthor}{\-Author}
mnutzinger
\end{DoxyAuthor}
\-This class contains only static member functions and cannot be instantiated. 

\subsection{\-Member \-Enumeration \-Documentation}
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-E\-Interpolation\-Type@{\-E\-Interpolation\-Type}}
\index{\-E\-Interpolation\-Type@{\-E\-Interpolation\-Type}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-E\-Interpolation\-Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \-C\-Stegit\-Math\-::\-E\-Interpolation\-Type}}}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542}
\begin{Desc}
\item[\-Enumerator\-: ]\par
\begin{description}
\index{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-N\-E\-A\-R@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-N\-E\-A\-R}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-N\-E\-A\-R@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-N\-E\-A\-R}}\item[{\em 
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a6055f26228bcd1ce934cbc75633aa8e3}{
\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-N\-E\-A\-R}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a6055f26228bcd1ce934cbc75633aa8e3}
}]\index{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-P\-O\-L\-Y\-N\-O\-M\-I\-A\-L@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-P\-O\-L\-Y\-N\-O\-M\-I\-A\-L}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-P\-O\-L\-Y\-N\-O\-M\-I\-A\-L@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-P\-O\-L\-Y\-N\-O\-M\-I\-A\-L}}\item[{\em 
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a4b9b08772c76f90d7e2c5119066afe04}{
\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-P\-O\-L\-Y\-N\-O\-M\-I\-A\-L}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a4b9b08772c76f90d7e2c5119066afe04}
}]\index{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E}}\item[{\em 
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a565caea08923a948c8bed78a091be57a}{
\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a565caea08923a948c8bed78a091be57a}
}]\index{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}}\item[{\em 
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a69089d55114afd321c393898c6f2fd5e}{
\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-S\-P\-L\-I\-N\-E\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a69089d55114afd321c393898c6f2fd5e}
}]\index{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A}}\item[{\em 
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542ac9433bd99529267f529a2bf46eb49ad7}{
\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542ac9433bd99529267f529a2bf46eb49ad7}
}]\index{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C@{\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}}\item[{\em 
\hypertarget{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a7bd0d148cd267c992fb7ca26e619e072}{
\-I\-N\-T\-E\-R\-P\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-K\-I\-M\-A\-\_\-\-P\-E\-R\-I\-O\-D\-I\-C}
\label{classCStegitMath_a0be3e3b409bf9210f05bf5d481fa9542a7bd0d148cd267c992fb7ca26e619e072}
}]\end{description}
\end{Desc}



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCStegitMath_a23d68c7d003b762506a2c0978f4dff98}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-Stegit\-Math}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Stegit\-Math\-::\-C\-Stegit\-Math (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCStegitMath_a23d68c7d003b762506a2c0978f4dff98}
\hypertarget{classCStegitMath_a300d3dc7195bd6208ca20cb301c1ad19}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-Stegit\-Math@{\-C\-Stegit\-Math}}
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-Stegit\-Math}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Stegit\-Math\-::\-C\-Stegit\-Math (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Stegit\-Math} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCStegitMath_a300d3dc7195bd6208ca20cb301c1ad19}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCStegitMath_a618fa77316720e8749f3cf3ef91f039c}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{p\-Input, }
\item[{std\-::complex$<$ double $>$ $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a618fa77316720e8749f3cf3ef91f039c}
\hypertarget{classCStegitMath_ac1e726f7e8b25391aaf96e4eaab84927}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{std\-::complex$<$ double $>$ $\ast$}]{p\-Input, }
\item[{double $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_ac1e726f7e8b25391aaf96e4eaab84927}
\hypertarget{classCStegitMath_aec6a85eefd29f0b10990dcb25058cfe2}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{std\-::complex$<$ double $>$ $\ast$}]{p\-Input, }
\item[{fftw\-\_\-complex $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_aec6a85eefd29f0b10990dcb25058cfe2}
\hypertarget{classCStegitMath_a3fe4571c9c6380a9458f4a41582e77e7}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{p\-Input, }
\item[{fftw\-\_\-complex $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a3fe4571c9c6380a9458f4a41582e77e7}
\hypertarget{classCStegitMath_a1df2599ebc91049d35a9505175b6903a}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{fftw\-\_\-complex $\ast$}]{p\-Input, }
\item[{std\-::complex$<$ double $>$ $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a1df2599ebc91049d35a9505175b6903a}
\hypertarget{classCStegitMath_a232eb5deb85c1a00d9962eba6c15658f}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{fftw\-\_\-complex $\ast$}]{p\-Input, }
\item[{double $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a232eb5deb85c1a00d9962eba6c15658f}
\hypertarget{classCStegitMath_a9fc181dd3d75febbb2f7bb69cd37e3af}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!convert@{convert}}
\index{convert@{convert}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::convert (
\begin{DoxyParamCaption}
\item[{std\-::valarray$<$ double $>$ \&}]{p\-Input, }
\item[{fftw\-\_\-complex $\ast$}]{p\-Output, }
\item[{unsigned int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a9fc181dd3d75febbb2f7bb69cd37e3af}
\hypertarget{classCStegitMath_a6cac42e396b9ac1885f25834fb018c48}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-R\-C8\-\_\-\-Block\-Checksum@{\-C\-R\-C8\-\_\-\-Block\-Checksum}}
\index{\-C\-R\-C8\-\_\-\-Block\-Checksum@{\-C\-R\-C8\-\_\-\-Block\-Checksum}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-R\-C8\-\_\-\-Block\-Checksum}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char \-C\-Stegit\-Math\-::\-C\-R\-C8\-\_\-\-Block\-Checksum (
\begin{DoxyParamCaption}
\item[{const void $\ast$}]{data, }
\item[{int}]{length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a6cac42e396b9ac1885f25834fb018c48}
\hypertarget{classCStegitMath_a342173d6ce1ca336f2fa7dbe2d6ec4af}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-R\-C8\-\_\-\-Finish\-Checksum@{\-C\-R\-C8\-\_\-\-Finish\-Checksum}}
\index{\-C\-R\-C8\-\_\-\-Finish\-Checksum@{\-C\-R\-C8\-\_\-\-Finish\-Checksum}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-R\-C8\-\_\-\-Finish\-Checksum}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::\-C\-R\-C8\-\_\-\-Finish\-Checksum (
\begin{DoxyParamCaption}
\item[{unsigned char \&}]{crcvalue}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCStegitMath_a342173d6ce1ca336f2fa7dbe2d6ec4af}
\hypertarget{classCStegitMath_a593e6b8eca03982089d53d8ce3bee75e}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-R\-C8\-\_\-\-Init\-Checksum@{\-C\-R\-C8\-\_\-\-Init\-Checksum}}
\index{\-C\-R\-C8\-\_\-\-Init\-Checksum@{\-C\-R\-C8\-\_\-\-Init\-Checksum}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-R\-C8\-\_\-\-Init\-Checksum}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::\-C\-R\-C8\-\_\-\-Init\-Checksum (
\begin{DoxyParamCaption}
\item[{unsigned char \&}]{crcvalue}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCStegitMath_a593e6b8eca03982089d53d8ce3bee75e}
\hypertarget{classCStegitMath_abdb183fcfab6424ba758375580760f7b}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-R\-C8\-\_\-\-Update@{\-C\-R\-C8\-\_\-\-Update}}
\index{\-C\-R\-C8\-\_\-\-Update@{\-C\-R\-C8\-\_\-\-Update}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-R\-C8\-\_\-\-Update}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::\-C\-R\-C8\-\_\-\-Update (
\begin{DoxyParamCaption}
\item[{unsigned char \&}]{crcvalue, }
\item[{const unsigned char}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCStegitMath_abdb183fcfab6424ba758375580760f7b}
\hypertarget{classCStegitMath_ab90e869afefa8ce36f79320d04fd2523}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!\-C\-R\-C8\-\_\-\-Update\-Checksum@{\-C\-R\-C8\-\_\-\-Update\-Checksum}}
\index{\-C\-R\-C8\-\_\-\-Update\-Checksum@{\-C\-R\-C8\-\_\-\-Update\-Checksum}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{\-C\-R\-C8\-\_\-\-Update\-Checksum}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Stegit\-Math\-::\-C\-R\-C8\-\_\-\-Update\-Checksum (
\begin{DoxyParamCaption}
\item[{unsigned char \&}]{crcvalue, }
\item[{const void $\ast$}]{data, }
\item[{int}]{length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCStegitMath_ab90e869afefa8ce36f79320d04fd2523}
\hypertarget{classCStegitMath_acaec45aadb8ad72a794a5cb88cb65ba7}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!in\-Cksum@{in\-Cksum}}
\index{in\-Cksum@{in\-Cksum}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{in\-Cksum}]{\setlength{\rightskip}{0pt plus 5cm}uint16\-\_\-t \-C\-Stegit\-Math\-::in\-Cksum (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{p\-Addr, }
\item[{int}]{p\-Len}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_acaec45aadb8ad72a794a5cb88cb65ba7}
\-Create a 16 bit \-C\-R\-C

\-Create a 16 bit \-C\-R\-C in\-\_\-cksum -\/-\/ \-Checksum routine for \-Internet \-Protocol family headers (\-C \-Version) \href{http://www.cs.utah.edu/~swalton/listings/sockets/programs/part4/chap18/ping.c}{\tt http\-://www.\-cs.\-utah.\-edu/$\sim$swalton/listings/sockets/programs/part4/chap18/ping.\-c} \hypertarget{classCStegitMath_af3dd70d57daf78e8e293a6b07e8d67a2}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!interpolate@{interpolate}}
\index{interpolate@{interpolate}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{interpolate}]{\setlength{\rightskip}{0pt plus 5cm}bool \-C\-Stegit\-Math\-::interpolate (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{p\-Out, }
\item[{unsigned int}]{p\-Out\-Len, }
\item[{double $\ast$}]{p\-In, }
\item[{unsigned int}]{p\-In\-Len, }
\item[{double $\ast$}]{p\-In\-Tmp, }
\item[{{\bf \-E\-Interpolation\-Type}}]{p\-Type, }
\item[{bool}]{p\-Extrapolation}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_af3dd70d57daf78e8e293a6b07e8d67a2}

\begin{DoxyParams}{\-Parameters}
{\em p\-Out} & \-Output buffer for interpolated samples. \\
\hline
{\em p\-Out\-Len} & \-Length of the output buffer(unit\-: double). \\
\hline
{\em p\-In} & \-Input buffer for input samples. \\
\hline
{\em p\-In\-Len} & \-Length of input buffer (unit\-: double). \\
\hline
{\em p\-In\-Tmp} & \-A temporary buffer which is needed as temporary buffer by this methode and must have the same length as p\-In. \-The stored values of this buffer will be discard and overwritten. \\
\hline
{\em p\-Type} & \-Type of interpolation. \-Some interpolation types needs a minimum of required input samples. \-For example\-: \-Cubic interpolation requires a minimum of 3 samples. \-For a periodic interpolation type the first and last sample of p\-In must have the same values. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-True for successful execution or false for an internal error. 
\end{DoxyReturn}
\hypertarget{classCStegitMath_aa829f2b5a9d4dd8069013659911e5c58}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!interpolate@{interpolate}}
\index{interpolate@{interpolate}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{interpolate}]{\setlength{\rightskip}{0pt plus 5cm}bool \-C\-Stegit\-Math\-::interpolate (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{p\-Out, }
\item[{unsigned int}]{p\-Out\-Len, }
\item[{double $\ast$}]{p\-In, }
\item[{unsigned int}]{p\-In\-Len, }
\item[{{\bf \-E\-Interpolation\-Type}}]{p\-Type, }
\item[{bool}]{p\-Extrapolation}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_aa829f2b5a9d4dd8069013659911e5c58}
interpolate function without p\-In\-Tmp parameter.

\-If this methode is used, then this methode will call the function with p\-In\-Tmp parameter. \-The buffer for p\-In\-Tmp will be dynamically allocated. \hypertarget{classCStegitMath_afa346a68a614e11a2dd0edb1f4be45b7}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!interpolate@{interpolate}}
\index{interpolate@{interpolate}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{interpolate}]{\setlength{\rightskip}{0pt plus 5cm}bool \-C\-Stegit\-Math\-::interpolate (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{p\-Out, }
\item[{unsigned int}]{p\-Out\-Len, }
\item[{double}]{p\-Out\-Len\-Time, }
\item[{double}]{p\-Out\-Offset\-Time, }
\item[{double $\ast$}]{p\-In, }
\item[{unsigned int}]{p\-In\-Len, }
\item[{double}]{p\-In\-Len\-Time, }
\item[{{\bf \-E\-Interpolation\-Type}}]{p\-Type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_afa346a68a614e11a2dd0edb1f4be45b7}

\begin{DoxyParams}{\-Parameters}
{\em p\-Out} & \-Output buffer for interpolated samples. \\
\hline
{\em p\-Out\-Len} & \-Length of the output buffer(unit\-: double). \\
\hline
{\em p\-Out\-Len\-Time} & \-Time between first and last sample = (count -\/ 1) $\ast$ sample\-Out\-Time \\
\hline
{\em p\-Out\-Offset\-Time} & \-Time between first input and first output sample. (first\-Out\-Time -\/ first\-In\-Time) \\
\hline
{\em p\-In} & \-Input buffer for input samples. \\
\hline
{\em p\-In\-Len} & \-Length of input buffer (unit\-: double). \\
\hline
{\em p\-In\-Len\-Time} & \-Time between first and last sample = (count -\/ 1) $\ast$ sample\-In\-Time \\
\hline
{\em p\-Type} & \-Type of interpolation. \-Some interpolation types needs a minimum of required input samples. \-For example\-: \-Cubic interpolation requires a minimum of 3 samples. \-For a periodic interpolation type the first and last sample of p\-In must have the same values. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-True for successful execution or false for an internal error. 
\end{DoxyReturn}
\hypertarget{classCStegitMath_a15ffac1a6a90f1a4e2060c06290265d1}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!log@{log}}
\index{log@{log}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{log}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Stegit\-Math\-::log (
\begin{DoxyParamCaption}
\item[{double}]{p\-Value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a15ffac1a6a90f1a4e2060c06290265d1}
\hypertarget{classCStegitMath_afef294312b5d195b67a8cfd77ab8f42d}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!operator=@{operator=}}
\index{operator=@{operator=}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-C\-Stegit\-Math}\& \-C\-Stegit\-Math\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Stegit\-Math} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCStegitMath_afef294312b5d195b67a8cfd77ab8f42d}
\hypertarget{classCStegitMath_a27b4ccfa0f0ffd5a21b44208a66134f3}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!pow@{pow}}
\index{pow@{pow}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{pow}]{\setlength{\rightskip}{0pt plus 5cm}double \-C\-Stegit\-Math\-::pow (
\begin{DoxyParamCaption}
\item[{double}]{p\-Base, }
\item[{int}]{p\-Power}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a27b4ccfa0f0ffd5a21b44208a66134f3}
\hypertarget{classCStegitMath_a0ed4af81fd9ee30890bb7858a0410425}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!pow@{pow}}
\index{pow@{pow}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{pow}]{\setlength{\rightskip}{0pt plus 5cm}std\-::complex$<$ double $>$ \-C\-Stegit\-Math\-::pow (
\begin{DoxyParamCaption}
\item[{double}]{p\-Base, }
\item[{std\-::complex$<$ double $>$}]{p\-Power}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classCStegitMath_a0ed4af81fd9ee30890bb7858a0410425}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCStegitMath_a5123da0c1e40a20c5c8f3ae58577a211}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!s\-C\-R\-C\-Table@{s\-C\-R\-C\-Table}}
\index{s\-C\-R\-C\-Table@{s\-C\-R\-C\-Table}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{s\-C\-R\-C\-Table}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \-C\-Stegit\-Math\-::s\-C\-R\-C\-Table}\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCStegitMath_a5123da0c1e40a20c5c8f3ae58577a211}
\hypertarget{classCStegitMath_a86b20966f95cb5876c69322bbdeb4f7a}{
\index{\-C\-Stegit\-Math@{\-C\-Stegit\-Math}!s\-Log\-Approx\-Rounds@{s\-Log\-Approx\-Rounds}}
\index{s\-Log\-Approx\-Rounds@{s\-Log\-Approx\-Rounds}!CStegitMath@{\-C\-Stegit\-Math}}
\subsubsection[{s\-Log\-Approx\-Rounds}]{\setlength{\rightskip}{0pt plus 5cm}const unsigned int {\bf \-C\-Stegit\-Math\-::s\-Log\-Approx\-Rounds}\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCStegitMath_a86b20966f95cb5876c69322bbdeb4f7a}
number of rounds for logarithm approximation 

\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{stegit__math_8h}{stegit\-\_\-math.\-h}\item 
\hyperlink{stegit__math_8cxx}{stegit\-\_\-math.\-cxx}\end{DoxyCompactItemize}
